package com.ptswitch.material.components.row;

import org.apache.tapestry5.BindingConstants;
import org.apache.tapestry5.annotations.Parameter;
import org.apache.tapestry5.annotations.Property;
import org.hxzon.tapestry5.components.base.CustomGridEx;

import com.ptswitch.material.model.base.Upload;

public class UploadRow extends CustomGridEx {
    @Parameter(required = true, allowNull = false, defaultPrefix = BindingConstants.LITERAL)
    @Property
    private String deletePage;

    @Parameter(required = true, allowNull = false, defaultPrefix = BindingConstants.LITERAL)
    @Property
    private String downloadPage;

    @Parameter(defaultPrefix = BindingConstants.LITERAL)
    @Property
    private String deletePermission;

    @Parameter(defaultPrefix = BindingConstants.LITERAL)
    @Property
    private String downloadPermission;

    @Property
    private Upload upload;
}
